mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Disable the "Single instance" check box if the lyxpipe has not been set up.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36827 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
33f4ea26a5
commit
51aa20b3ed
@ -2455,7 +2455,8 @@ void PrefUserInterface::update(LyXRC const & rc)
|
||||
lastfilesSB->setValue(rc.num_lastfiles);
|
||||
tooltipCB->setChecked(rc.use_tooltip);
|
||||
openDocumentsInTabsCB->setChecked(rc.open_buffers_in_tabs);
|
||||
singleInstanceCB->setChecked(rc.single_instance);
|
||||
singleInstanceCB->setChecked(rc.single_instance && !rc.lyxpipes.empty());
|
||||
singleInstanceCB->setEnabled(!rc.lyxpipes.empty());
|
||||
singleCloseTabButtonCB->setChecked(rc.single_close_tab_button);
|
||||
}
|
||||
|
||||
|
@ -242,7 +242,8 @@
|
||||
<item row="5" column="0" colspan="2">
|
||||
<widget class="QCheckBox" name="singleInstanceCB">
|
||||
<property name="toolTip">
|
||||
<string>Whether to open documents in an already running instance of LyX.</string>
|
||||
<string>Whether to open documents in an already running instance of LyX.
|
||||
(Set the LyXServer pipe path and restart LyX to enable this feature)</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>S&ingle instance</string>
|
||||
|
Loading…
Reference in New Issue
Block a user