Skip to content

Commit

Permalink
delimited text plugin: enable button to parse if the text in the deli…
Browse files Browse the repository at this point in the history
…miter field has changed

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8221 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Mar 14, 2008
1 parent 1156b00 commit fba68b7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/plugins/delimited_text/qgsdelimitedtextplugingui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -261,3 +261,11 @@ void QgsDelimitedTextPluginGui::help()
{
qI->openURL("plugins/delimited_text/index.html",true);
}

void QgsDelimitedTextPluginGui::on_txtDelimiter_textChanged(const QString & text)
{
if(!text.isEmpty())
{
pbnParse->setEnabled(true);
}
}
1 change: 1 addition & 0 deletions src/plugins/delimited_text/qgsdelimitedtextplugingui.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ class QgsDelimitedTextPluginGui : public QDialog, private Ui::QgsDelimitedTextPl
void on_buttonBox_rejected();
void on_buttonBox_helpRequested();
void on_btnBrowseForFile_clicked();
void on_txtDelimiter_textChanged(const QString & text);
void pbnParse_clicked();

signals:
Expand Down

0 comments on commit fba68b7

Please sign in to comment.