|
|
@ -179,10 +179,8 @@ void MainWindow::editAction(const QModelIndex &index)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
qulonglong id = 0;
|
|
|
|
qulonglong id = 0;
|
|
|
|
|
|
|
|
|
|
|
|
if (!index.isValid())
|
|
|
|
if (index.isValid())
|
|
|
|
return;
|
|
|
|
id = mDefaultModel->id(mSortFilterProxyModel->mapToSource(index));
|
|
|
|
|
|
|
|
|
|
|
|
id = mDefaultModel->id(mSortFilterProxyModel->mapToSource(index));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!mEditActionDialog)
|
|
|
|
if (!mEditActionDialog)
|
|
|
|
mEditActionDialog = new EditActionDialog(mActions, this);
|
|
|
|
mEditActionDialog = new EditActionDialog(mActions, this);
|
|
|
|