Commit 3725ccfe authored by Kåre Särs's avatar Kåre Särs

S&R: Sync the search folder with the doc when search place is changed.

parent ae375e28
......@@ -632,6 +632,10 @@ void KatePluginSearchView::searchPlaceChanged()
m_ui.symLinkCheckBox->setEnabled(inFolder);
m_ui.binaryCheckBox->setEnabled(inFolder);
if (inFolder && sender() == m_ui.searchPlaceCombo) {
setCurrentFolder();
}
// ... and the labels:
m_ui.folderLabel->setEnabled(m_ui.folderRequester->isEnabled());
m_ui.filterLabel->setEnabled(m_ui.filterCombo->isEnabled());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment