Update tradingdialog.cpp
Update tradingdialog.cpp

fix tradingdialog causing crashes on OSX.
chrysophylax69/droidz,chrysophylax69/droidz,chrysophylax69/droidz,chrysophylax69/droidz,chrysophylax69/droidz