kakada wrote: > your solution is detecting the filename if it exist or not, but not the > button (Save or Cancel). > Because if your filename isEmpty, either do you click OK nor Cancel;as > the result, you always get "No file selected"
I believe the function doesn't let you to click OK with an empty file name. http://doc.trolltech.com/4.1/qfiledialog.html#getOpenFileName "If the user presses Cancel, it returns a null string." -Lukáš _______________________________________________ PyKDE mailing list [email protected] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
