mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-14 17:39:58 +00:00
branch: Fix bug 5695: Default button must be "OK"
http://bugzilla.lyx.org/show_bug.cgi?id=5695 Fix for GuiHyperlink and GuiInclude. see: http://www.lyx.org/trac/changeset/28726 http://www.lyx.org/trac/changeset/28784 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28804 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e482623a89
commit
d8c3c6519d
@ -46,6 +46,8 @@ GuiHyperlink::GuiHyperlink(GuiView & lv)
|
|||||||
|
|
||||||
setFocusProxy(targetED);
|
setFocusProxy(targetED);
|
||||||
|
|
||||||
|
bc().setPolicy(ButtonPolicy::OkCancelReadOnlyPolicy);
|
||||||
|
|
||||||
bc().setOK(okPB);
|
bc().setOK(okPB);
|
||||||
bc().setCancel(closePB);
|
bc().setCancel(closePB);
|
||||||
bc().addReadOnly(targetED);
|
bc().addReadOnly(targetED);
|
||||||
|
@ -139,6 +139,9 @@
|
|||||||
<property name="text" >
|
<property name="text" >
|
||||||
<string>&OK</string>
|
<string>&OK</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="autoDefault" >
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
<property name="default" >
|
<property name="default" >
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
@ -149,6 +152,9 @@
|
|||||||
<property name="text" >
|
<property name="text" >
|
||||||
<string>&Close</string>
|
<string>&Close</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="autoDefault" >
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
|
@ -239,6 +239,9 @@
|
|||||||
<property name="default" >
|
<property name="default" >
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="autoDefault" >
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
@ -246,6 +249,9 @@
|
|||||||
<property name="text" >
|
<property name="text" >
|
||||||
<string>&Close</string>
|
<string>&Close</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="autoDefault" >
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
|
@ -77,6 +77,9 @@ What's new
|
|||||||
- Do not close the math delimiters dialog when selecting a delimiter
|
- Do not close the math delimiters dialog when selecting a delimiter
|
||||||
without "match" being chosen (bug 5789).
|
without "match" being chosen (bug 5789).
|
||||||
|
|
||||||
|
- Ensure that in various dialogs the OK button is the default when both
|
||||||
|
the OK and Cancel buttons are enabled (bug 5695).
|
||||||
|
|
||||||
|
|
||||||
* DOCUMENTATION AND LOCALIZATION
|
* DOCUMENTATION AND LOCALIZATION
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user