improve coding style
This commit is contained in:
@@ -118,7 +118,7 @@ void ViewProviderTemplate::onChanged(const App::Property *prop)
|
||||
}
|
||||
|
||||
if (prop == &Visibility) {
|
||||
if(Visibility.getValue()) {
|
||||
if (Visibility.getValue()) {
|
||||
show();
|
||||
} else {
|
||||
hide();
|
||||
|
||||
Reference in New Issue
Block a user