Fix macro path issue
This commit is contained in:
@@ -39,8 +39,8 @@ DlgSettingsMacroImp::DlgSettingsMacroImp( QWidget* parent )
|
||||
{
|
||||
this->setupUi(this);
|
||||
if (MacroPath->fileName().isEmpty()) {
|
||||
QDir d(QString::fromUtf8(App::GetApplication().GetHomePath()));
|
||||
MacroPath->setFileName( d.path() );
|
||||
QDir d(QString::fromUtf8(App::GetApplication().getUserAppDataDir().c_str()));
|
||||
MacroPath->setFileName(d.path());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user