Kaydet (Commit) 71743833 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

ManageNames: disable paste buttons if table is empty

üst 577c7ea3
......@@ -70,6 +70,12 @@ ScNamePasteDlg::ScNamePasteDlg( Window * pParent, ScDocShell* pShell, bool )
maBtnPasteAll.SetClickHdl( LINK( this, ScNamePasteDlg, ButtonHdl));
maBtnClose.SetClickHdl( LINK( this, ScNamePasteDlg, ButtonHdl));
if (!mpTable->GetEntryCount())
{
maBtnPaste.Disable();
maBtnPasteAll.Disable();
}
FreeResource();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment