diff options
author | con <qtc-committer@nokia.com> | 2010-02-26 15:45:48 +0100 |
---|---|---|
committer | con <qtc-committer@nokia.com> | 2010-02-26 15:46:43 +0100 |
commit | d2e5b194385cf6998db5bb768a621bc08c92e3f3 (patch) | |
tree | fc4faddd10f382dd2478a2146c3e8ab62153d755 /src/plugins/find/findtoolwindow.h | |
parent | fc60d6c62d76fc9dfa3de4c4da8c28e18097b4d2 (diff) | |
download | qt-creator-d2e5b194385cf6998db5bb768a621bc08c92e3f3.tar.gz |
Fix crash with empty search term.
Also disable "Search" buttons in this case.
Diffstat (limited to 'src/plugins/find/findtoolwindow.h')
-rw-r--r-- | src/plugins/find/findtoolwindow.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/find/findtoolwindow.h b/src/plugins/find/findtoolwindow.h index 57dc15b4e3..90d998a779 100644 --- a/src/plugins/find/findtoolwindow.h +++ b/src/plugins/find/findtoolwindow.h @@ -61,6 +61,7 @@ private slots: void search(); void replace(); void setCurrentFilter(int index); + void updateButtonStates(); private: void acceptAndGetParameters(QString *term, IFindFilter **filter); |