Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
SDK
Lokalize
Commits
ed93bc4e
Commit
ed93bc4e
authored
Aug 14, 2020
by
Simon Depiets
2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow non-existing file to be set as glossary
parent
6353800a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/prefs/prefs.cpp
src/prefs/prefs.cpp
+1
-1
No files found.
src/prefs/prefs.cpp
View file @
ed93bc4e
...
...
@@ -304,7 +304,7 @@ void SettingsController::projectConfigure()
connect
(
ui_prefs_projectmain
.
LangCode
,
QOverload
<
int
>::
of
(
&
KComboBox
::
activated
),
ui_prefs_projectmain
.
kcfg_LangCode
,
&
LangCodeSaver
::
setLangCode
);
ui_prefs_projectmain
.
poBaseDir
->
setMode
(
KFile
::
Directory
|
KFile
::
ExistingOnly
|
KFile
::
LocalOnly
);
ui_prefs_projectmain
.
glossaryTbx
->
setMode
(
KFile
::
File
|
KFile
::
ExistingOnly
|
KFile
::
LocalOnly
);
ui_prefs_projectmain
.
glossaryTbx
->
setMode
(
KFile
::
File
|
KFile
::
LocalOnly
);
ui_prefs_projectmain
.
glossaryTbx
->
setFilter
(
"*.tbx
\n
*.xml"
);
connect
(
ui_prefs_projectmain
.
poBaseDir
,
&
KUrlRequester
::
textChanged
,
ui_prefs_projectmain
.
kcfg_PoBaseDir
,
&
RelPathSaver
::
setText
);
connect
(
ui_prefs_projectmain
.
glossaryTbx
,
&
KUrlRequester
::
textChanged
,
ui_prefs_projectmain
.
kcfg_GlossaryTbx
,
&
RelPathSaver
::
setText
);
...
...
Simon Depiets
@sdepiets
mentioned in commit
8041c76b
·
Aug 14, 2020
mentioned in commit
8041c76b
mentioned in commit 8041c76b5ee762c121dea1f40b90a0190b646518
Toggle commit list
Simon Depiets
@sdepiets
mentioned in merge request
!4 (merged)
·
Aug 14, 2020
mentioned in merge request
!4 (merged)
mentioned in merge request !4
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment