mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
Enable search in "LaTeX Log" dialog by pressing Enter
This commit is contained in:
parent
04ba887e2c
commit
1cf86348dd
@ -122,7 +122,6 @@ GuiLog::GuiLog(GuiView & lv)
|
||||
this, SLOT(slotButtonBox(QAbstractButton *)));
|
||||
connect(updatePB, SIGNAL(clicked()), this, SLOT(updateContents()));
|
||||
connect(findPB, SIGNAL(clicked()), this, SLOT(find()));
|
||||
// FIXME: find via returnPressed() does not work!
|
||||
connect(findLE, SIGNAL(returnPressed()), this, SLOT(find()));
|
||||
connect(logTypeCO, SIGNAL(activated(int)),
|
||||
this, SLOT(typeChanged(int)));
|
||||
@ -134,6 +133,9 @@ GuiLog::GuiLog(GuiView & lv)
|
||||
|
||||
logTB->setReadOnly(true);
|
||||
logTB->setFont(guiApp->typewriterSystemFont());
|
||||
|
||||
QPushButton * closePB = buttonBox->button(QDialogButtonBox::Close);
|
||||
closePB->setAutoDefault(false);
|
||||
}
|
||||
|
||||
|
||||
|
@ -73,6 +73,9 @@
|
||||
<property name="text">
|
||||
<string>Next &Error</string>
|
||||
</property>
|
||||
<property name="autoDefault">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@ -83,6 +86,9 @@
|
||||
<property name="text">
|
||||
<string>Next &Warning</string>
|
||||
</property>
|
||||
<property name="autoDefault">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
@ -102,14 +108,17 @@
|
||||
<item>
|
||||
<widget class="QLineEdit" name="findLE">
|
||||
<property name="toolTip">
|
||||
<string>Hit Enter to search, or click Go!</string>
|
||||
<string>Hit Enter or click 'Find Next' to search</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="findPB">
|
||||
<property name="text">
|
||||
<string>&Go!</string>
|
||||
<string>Find &Next</string>
|
||||
</property>
|
||||
<property name="autoDefault">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -120,6 +129,9 @@
|
||||
<property name="text">
|
||||
<string>&Open Containing Directory</string>
|
||||
</property>
|
||||
<property name="autoDefault">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="1">
|
||||
@ -146,8 +158,8 @@
|
||||
<property name="text">
|
||||
<string>&Update</string>
|
||||
</property>
|
||||
<property name="default">
|
||||
<bool>true</bool>
|
||||
<property name="autoDefault">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
Loading…
Reference in New Issue
Block a user