TabWidget: fix for usage with non code edit widgets (use save method if file attribute was not found)