BF [2897725] - Icon for report inconsistent

https://sourceforge.net/tracker/?func=detail&atid=955896&aid=2897725&group_id=176962
Fixed also the behavior - print button is disabled if not form configured for the tab
This commit is contained in:
Carlos Ruiz 2009-12-15 04:13:43 +00:00
parent 3efbdba935
commit 77d4059aa6
3 changed files with 5 additions and 3 deletions

View File

@ -975,6 +975,8 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
{
toolbar.lock(curTab.isLocked());
}
toolbar.enablePrint(curTab.isPrinted());
}
/**
@ -1133,7 +1135,7 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
adTab.evaluate(e);
toolbar.enablePrint(true);
toolbar.enablePrint(curTab.isPrinted());
toolbar.enableReport(true);
}
@ -1190,7 +1192,7 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
toolbar.enableNavigation(false);
toolbar.enableTabNavigation(false);
toolbar.enableIgnore(true);
toolbar.enablePrint(true);
toolbar.enablePrint(curTab.isPrinted());
toolbar.enableReport(true);
}
else
@ -1239,7 +1241,7 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
toolbar.enableNavigation(false);
toolbar.enableTabNavigation(false);
toolbar.enableIgnore(true);
toolbar.enablePrint(true);
toolbar.enablePrint(curTab.isPrinted());
toolbar.enableReport(true);
}
else

Binary file not shown.

Before

Width:  |  Height:  |  Size: 901 B

After

Width:  |  Height:  |  Size: 392 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 654 B