From c1dcf67a3c213aa062107c5c3de8413b66ac4b29 Mon Sep 17 00:00:00 2001 From: andyq Date: Fri, 27 Dec 2002 15:02:07 +0000 Subject: Fixed bug where refresh lists would crash --- (limited to 'noncore/settings') diff --git a/noncore/settings/aqpkg/installdlgimpl.cpp b/noncore/settings/aqpkg/installdlgimpl.cpp index bd07828..bf2c482 100644 --- a/noncore/settings/aqpkg/installdlgimpl.cpp +++ b/noncore/settings/aqpkg/installdlgimpl.cpp @@ -248,7 +248,8 @@ void InstallDlgImpl :: installSelected() // btnInstall->setEnabled( true ); btnInstall->setText( tr( "Close" ) ); - displayAvailableSpace( destination->currentText() ); + if ( destination->currentText() != 0 && destination->currentText() != "" ) + displayAvailableSpace( destination->currentText() ); } -- cgit v0.9.0.2