mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
Add upstream patch to fix that the first symbol in directory's name can't
be changed in the new directory dialog. PR: 201336 Submitted by: Andriy Solonenko <ap_berzerk@yahoo.com> Tested by: Tobias Berner <tcberner@gmail.com> Obtained from: krusader upstream
This commit is contained in:
parent
e45344bede
commit
7ea932b697
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=398980
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= krusader
|
||||
DISTVERSION= 2.4.0-beta3
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= x11-fm kde
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSION}/
|
||||
|
||||
|
20
x11-fm/krusader2/files/patch-git-5cb23ac
Normal file
20
x11-fm/krusader2/files/patch-git-5cb23ac
Normal file
@ -0,0 +1,20 @@
|
||||
commit 5cb23ac98046a07d5db3a52b41e3a42544eb13f9
|
||||
Author: Jan Lepper <jan_lepper@gmx.de>
|
||||
Date: Wed Jan 2 21:38:52 2013 +0100
|
||||
|
||||
FIXED: [ 309119 ] Wrong "New directory" dialog behavior: can't clear all typed text
|
||||
return QValidator::Intermediate instead of Invalid when input is empty
|
||||
BUG: 309119
|
||||
|
||||
|
||||
--- krusader/Panel/panelfunc.cpp.orig 2012-10-21 12:55:54.000000000 +0200
|
||||
+++ krusader/Panel/panelfunc.cpp 2015-10-09 17:43:53.794177000 +0200
|
||||
@@ -100,7 +100,7 @@
|
||||
{
|
||||
public:
|
||||
virtual State validate(QString &input, int &pos) const {
|
||||
- return input.isEmpty() ? Invalid : Acceptable;
|
||||
+ return input.isEmpty() ? Intermediate : Acceptable;
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user